<?php
/* @var $this ProductController */
/* @var $data Product */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
	<?php echo CHtml::encode($data->name); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('description')); ?>:</b>
	<?php echo CHtml::encode($data->description); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('unit_price')); ?>:</b>
	<?php echo CHtml::encode($data->unit_price); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('units_in_stock')); ?>:</b>
	<?php echo CHtml::encode($data->units_in_stock); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('units_reserved')); ?>:</b>
	<?php echo CHtml::encode($data->units_reserved); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('product_category')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->productCategory->name), array('productCategory/view', 'id'=>$data->productCategory->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('supplier')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->supplier0->name), array('supplier/view', 'id'=>$data->supplier0->id)); ?>
	<br />

</div>